<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .card {
            display: inline-block;
            min-width: 140px;
            border: 1px solid gray;
            border-radius: 5px;
            overflow: hidden;
            box-shadow: 0 2px 5px rgba(10,10,10, 0.2);
        }
        .card header {
            display: block;
            padding: 5px 20px;
            font-size: 12px;
            border-bottom: 1px solid gray;
            background: rgb(240, 240, 240);
        }
        .card>div {
            display: block;
            padding: 10px 20px 20px 20px;
        }
        .card>div p {
            margin: 0;
            color: red;
        }
        input, textarea {
            border: 1px solid pink;
            color: rgba(10,10,10);
            padding: 5px;
            outline: none;
        }
        input:hover, textarea:hover {
            border-color: rgb(253, 119, 141);
        }
    </style>
</head>
<body>
    <section class="card">
        <header>卡片标题</header>
        <div>
            <p>卡片内容</p>
        </div>
    </section>
    <section class="card">
        <header>卡片标题</header>
        <div>
            <p>卡片内容</p>
        </div>
    </section>
    <section class="card">
        <header>卡片标题</header>
        <div>
            <p>卡片内容</p>
        </div>
    </section>
    <div>
        <input type="text" placeholder="输入内容" style="display: block;margin-top: 5px;">
        <textarea placeholder="多行输入..." style="display:block;margin-top: 5px;"></textarea>
    </div>
</body>
</html>